<template>
  <div id="home">
    <a href="/index.html">首页</a>
    <a href="/about.html">关于我们</a>
    <hello-world></hello-world>
  </div>
</template>
<script>
  import "@/assets/stylus/index.styl"
  import HelloWorld from "../../components/HelloWorld";
  export default {
    name:"Home",
    components:{
      HelloWorld
    },
    created() {
      console.log("a:"+this.$store.state.url);
      this.$store.commit('user',"http://www.wujindong.com")
    }
  }
</script>
<style lang="stylus">
#app
  font-family Avenir, Helvetica, Arial, sans-serif
  -webkit-font-smoothing antialiased
  -moz-osx-font-smoothing grayscale
  text-align center
  color #2c3e50
  margin-top 60px
</style>
